<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:php="http://php.net/xsl"
	version="1.0">

	<xsl:include href="../common/layout.xsl"/>
	<xsl:include href="../common/passport.xsl"/>

	<xsl:template match="//platcode">
		<html>
			<xsl:call-template name="header"/>
			<body>
				<xsl:call-template name="passport-logo"/>
				<div class="user-bar">
					<ul>
						<li>
							<a href="{$base-url}">
								<xsl:value-of select="php:function('lang','base_name')"/>
							</a>
						</li>
						<li>
							<a href="/account/create">
								<xsl:value-of select="php:function('lang','account_creation')"/>
							</a>
						</li>
					</ul>
				</div>
				<div id="form-account" class="normal-form">
					<form onsubmit="return accountLogin(this)">
						<h1>
							<xsl:value-of select="php:function('lang','account_enter')"/>
						</h1>
						<ul>
							<li>
								<div>
									<label for="id">
										<xsl:value-of select="php:function('lang','id')"/>
									</label>
									<input type="text" id="id" name="id" maxlength="150" tabindex="1"/>
									<em>
										<xsl:value-of select="php:function('lang','email_or_username')"/>
									</em>
								</div>
							</li>
							<li>
								<div>
									<label for="secret">
										<xsl:value-of select="php:function('lang','password')"/>
									</label>
									<input type="password" id="secret" name="secret" tabindex="2"/>
									<div class="right">
										<a href="#">
											<xsl:value-of select="php:function('lang','remind_password')"/>
										</a>
									</div>
								</div>
							</li>
							<li class="footer">
								<div class="right">
									<button type="submit" tabindex="4">
										<xsl:value-of select="php:function('lang','submit')"/>
									</button>
								</div>
								<div class="act-ctrl">
									<input type="checkbox" id="remember" name="remember" tabindex="3" checked="checked"/>
									<label for="remember">
										<xsl:value-of select="php:function('lang','remember_me')"/>
									</label>
								</div>
							</li>
						</ul>
					</form>
				</div>
			</body>
		</html>
	</xsl:template>

</xsl:stylesheet>
